package com.huak.zookeeper.connection;

import org.apache.zookeeper.AsyncCallback;
import org.apache.zookeeper.data.Stat;

/**
 * @author liuhuan
 * @date 2018/9/16 10:07
 * @description
 */
public class UpdateCallBack implements AsyncCallback.StatCallback {
    @Override
    public void processResult(int rc, String path, Object ctx, Stat stat) {

        System.out.println("修改节点: " + path);
        System.out.println((String)ctx);
    }
}
